package com.foundersoftware.commons.organization.model;


/**
 * This class represents a post 's duty.
 * @author wuhongjun
 *
 */
public class Responsibility extends AbstractOrganizationObject{

	private static final long serialVersionUID = -4596535190262808534L;
	
	/**
	 * This field <code>isAdministrative</code> is used to indicate it is an administrative 
	 * organizations or business organization. 
	 */
	private boolean isAdministrative = true;
	
	/**
	 * This field represents the Orgniazation that the Responsibility belongs to.
	 */
	private OrganizationUnit organizationUnit = null;
	/**
	 * This field represents the WorkGroup that the Responsibility belongs to.
	 */
    private WorkGroup workGroup = null;
    public OrganizationUnit getOrganizationUnit() {
        return organizationUnit;
    }

    public WorkGroup getWorkGroup() {
        return workGroup;
    }

    public void setBelongToOrg(OrganizationUnit organizationUnit) {
        this.organizationUnit = organizationUnit;
    }

    public void setWorkGroup(WorkGroup workGroup) {
        this.workGroup = workGroup;
    }

	protected boolean isAdministrative() {
		return isAdministrative;
	}

	protected void setAdministrative(boolean isAdministrative) {
		this.isAdministrative = isAdministrative;
	}

}
